package com.ews.onlineexchange.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class StringUtils {
	/**
	 * 替换掉HTML标签方法
	 */
	public static String replaceHtml(String html) {
		if (org.apache.commons.lang3.StringUtils.isBlank(html)) {
			return "";
		}
		String regEx = "<.+?>";
		Pattern p = Pattern.compile(regEx);
		Matcher m = p.matcher(html);
		String s = m.replaceAll("");
		return s;
	}
}
